[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
TIMEAP(TEXP) (STRING)
Function
Converts a time value to a 12-hour AM/PM formatted string (XX:XX:XX AM).
Syntax
TIMEAP(texp)
texp = Any time expression.
Return Type & Value
STRING
Returns a string formatted with the time specified by texp in a
12-hour AM/PM format (XX:XX:XX AM).
Remarks
TIME values are, by default, formatted for military time ("HH:MM:SS")
when displayed or assigned to a string variable. You may wish to format
them in a 12-hour AM/PM format in some circumstances, however. This
function perform the conversion and format the time in "HH:MM:SS XM"
format (HH = hour, MM = minute, SS = second, X = A or P).
Examples
PRINTLN "The current time is ",TIMEAP(TIME())
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson